package com.app.shop.entity.show;

import com.app.shop.util.Constant;
import com.app.shop.entity.SysUser;

public class SysUserShow extends SysUser{

    //性别
    private String sexName;
    //用户状态
    private String statusName;
    //用户角色名称
    private String authNames;
    /**
     * 将字典值补全
     */
    public void dataSet(){

        this.statusName= Constant.getDic(10013,this.getStatus());
        this.sexName= Constant.getDic(10001,this.getSex());
        super.setPassword(null);
    }

    public String getSexName() {
        return sexName;
    }

    public void setSexName(String sexName) {
        this.sexName = sexName;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getAuthNames() {
        return authNames;
    }

    public void setAuthNames(String authNames) {
        this.authNames = authNames;
    }
}